package info.wangyuan.agent.entity.dto;

import dev.langchain4j.model.embedding.EmbeddingModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author Albert
 * @since 2025-08-29 02:02:57
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RagDocSyncStorageMsgDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = -5764144581856293209L;
    /**
     * 主键
     */
    private Integer id;

    /**
     * 文件ID
     */
    private Integer fileId;

    /**
     * 页码
     */
    private Integer pageIndex;

    /**
     * 当前页内容
     */
    private String content;

    /**
     * 是否进行向量化
     */
    private Boolean isVector;

    private String fileName;

    /**
     * 数据集ID
     */
    private Integer datasetId;

    /**
     * 嵌入模型配置
     */
    private EmbeddingModel embeddingModel;
}
